home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Your Choice 3
/
Your Choice Software Collection 3.iso
/
prgmming
/
os2
/
rbutton.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-05
|
782b
|
28 lines
/*
Radio button group. This is handled by having an array of Controls.
They are assumed to be within a GROUP, so that setting one automatically
unsets the others, etc.
*/
#ifndef _RBUTTON_INC
#define _RBUTTON_INC
#include "control.h"
class Rbutton
{
private:
Control *pControls;
int num_buttons;
public:
Rbutton (HWND,ULONG *);
Rbutton (HWND,ULONG *,char **, SHORT=0, SHORT=0,
SHORT=100, SHORT=100);
~Rbutton ();
BOOL Hide();
BOOL Show();
VOID SetPos(SHORT, SHORT, SHORT, SHORT);
operator ULONG ();
VOID SetState(ULONG);
};
#endif